using System;
using System.Collections.Generic;
using WbsEditor;

namespace WbsEditor.Generation
{
    public class WorkPackageInfo
    {
        public enum WorkPackageType
        {
            WorkBreakdownStructure = 0,
            OrphanTasks = 1,
            Bugs = 2
        }

        private WorkPackageType _type = WorkPackageType.WorkBreakdownStructure;
        public WorkPackageType Type { get { return _type; } set { _type = value; } }

        private WorkBreakdownStructure _wbs;
        public WorkBreakdownStructure WorkBreakdownStructure { get { return _wbs; } set { _wbs = value; } }

        PersonWorkload[] _workload;
        public PersonWorkload[] WorkloadInfo { get { return _workload; } set { _workload = value; } }

        private int _seriesId = -1;
        public int SeriesId { get { return _seriesId; } set { _seriesId = value; } }

        private List<WbsNode> _workItemCollection = new List<WbsNode>();
        public ICollection<WbsNode> WorkItems
        {
            get { return _workItemCollection; }
        }
    }
}